﻿<Window x:Class="KSACalibrate.DebugForm"
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"        
        Title="TouchCalibration">
    <!-- This form is meant to give a debugging surface for such things as tracking, contact detection, and contact properties-->
    <Grid>
        <StackPanel Orientation="Horizontal" HorizontalAlignment="Right">
            <Button Click="ExitButton_Click" Width="80" Height="30" VerticalAlignment="Top" HorizontalAlignment="Left">Exit</Button>
            <Button Click="ClearButton_Click" Width="80" Height="30" VerticalAlignment="Top" HorizontalAlignment="Left">Clear</Button>
        </StackPanel>
        <Grid Height="240" Width="320">
            <Grid.RenderTransform>
                <ScaleTransform ScaleX="2" ScaleY="2"></ScaleTransform>
            </Grid.RenderTransform>
            <Image Name="DebugRawImage"/>
            <Canvas Name="DebugCanvas" Background="Transparent"></Canvas>
        </Grid>
        <StackPanel Orientation="Horizontal">            
            <StackPanel>
                <Label Name="TouchDownState" Width="150"></Label>
            </StackPanel>
            <StackPanel>
                <Label Name="TouchUpState" Width="150"></Label>
            </StackPanel>
            <StackPanel>
                <Label Name="HoverContactState" Width="150"></Label>
            </StackPanel>
            <StackPanel Orientation="Vertical">
                <Label Name="TouchInfo" HorizontalAlignment="Right" Width="300"></Label>
            </StackPanel>
        </StackPanel>
        
    </Grid>
</Window>
